package za.org.jcicada.genss.lifecycle.messages;

import za.org.jcicada.genss.SystemURN;
import za.org.jcicada.genss.lifecycle.LogLevel;
import za.org.jcicada.genss.messages.Result;

/**
 * SetLogLevelReply message class.
 * @author rcrida
 */
public class SetLogLevelReply extends SystemURNReply {

    /**
     * Class serialization version id.
     */
    private static final long serialVersionUID = 1L;
    
    /**
     * The current log level for the component
     */
    private LogLevel level;
    
    /**
     * Create a SetLogLevelReply message.
     * @param level the current log level from the component
     */
    public SetLogLevelReply(Result result, SystemURN systemURN, LogLevel level) {
        super(result, systemURN);
        this.level = level;
    }
    
    public LogLevel getLevel() {
        return level;
    }

}
